#include"ALLINALL.hpp"

Allinall::allinall AIA;

int main(int argc,const char* argv[]){
	AIA.programPath.insert(0,argv[0],strlen(argv[0])-strlen("AllINAll")+1);// +1 is for '\0'
	AIA.programPath[AIA.programPath.size()-1]='\0';

	if( argc==1 || !AIA.loadDl(LccToolbox::mark{argv[1]}) )// check if the customized piece can be used
		if(!AIA.loadDl(LccToolbox::mark{"armorWarehouse"}))// if no specify or failed to use customized part then just use default
			return -1;
	return 0;
}